package com.jkdz.spyke.flexUI.helpers {
	
	public class FileDropReference {
		
		private var id:int;
		private var name:String;
		private var length:int;
		
		public function FileDropReference(id:int, name:String, length:int) {
			this.id = id;
			this.name = name;
			this.length = length;
		}
		
		public function getName():String {
			return name;
		}
		
		public function getLength():int {
			return length;
		}
		
		public function getChunk(from:int, suggestedLength:int, onRead:Function):void {
			FileDropManager.getChunk(id, from, suggestedLength, onRead);
		}
	}
}